<template>
  <view-card :title="title">
    <div class="user_info">
        <el-avatar class="user_avatar" :src="userInfo.avatarUrl"></el-avatar>
        <div class="user_info_text">
          <div class="user_name">{{userInfo.nickname}}</div>
          <div>{{userInfo.follows}}&nbsp;粉丝&nbsp;&nbsp;{{userInfo.followeds}}&nbsp;关注&nbsp;&nbsp;Lv.{{userInfo.level}}</div>
          <div>村龄：{{parseInt(this.userInfo.createDays / 356)}}&nbsp;年（{{time(userInfo.createTime)}}注册）</div>
          <div>个性签名：{{userInfo.signature}}</div>
        </div>
    </div>
  </view-card>
</template>

<script>
  import userInfoLogic from '../pagesLogic/userInfoLogic'
  export default {
    ...userInfoLogic
  }
</script>

<style scoped>

</style>
